import scripts.PA_Utils as PA



## Config
#=======================================================


beginFutureYR = 2011
beginPastYR = 1932
endPastYR = 1932
totalYR = 2

runFolder     = r"Z:\DWR\BST_2005A01A_Existing\CALSIM_040110_CAM_HECDSS\CONV\Run"
dssFolder     = r"Z:\DWR\BST_2005A01A_Existing\CALSIM_040110_CAM_HECDSS\common\DSS"
lookupFolder  = r"Z:\DWR\BST_2005A01A_Existing\CALSIM_040110_CAM_HECDSS\CONV\Run\Lookup"

inDssFile = "2005A01ASV.dss"
outDssFile = "Shifted2SV.dss"
styTemplate = "study.template"


tableTemplateList  = [ "wytypes.template",
                       "wytypeSJR.template",
                       "LCPSIM_SB_Output.template " ]


#=======================================================


PA.setConfig(runFolder, dssFolder, lookupFolder, inDssFile, outDssFile, 
             styTemplate, tableTemplateList)

PA.setTime(beginPastYR, endPastYR, totalYR, beginFutureYR)


PA.cleanDss()
PA.processDss()


PA.cleanTables()
PA.processTables()

PA.cleanSty()
PA.processSty()


PA.processRunBatch()













